var IE = document.all?true:false
if (!IE) document.captureEvents(Event.MOUSEMOVE);

function $objDOM(strName){
	var objTemp = null;
	objTemp = document.getElementById(strName);
	if (objTemp != null) {
		return objTemp;
	}
	objTemp = document.getElementsByName(strName);
	if (objTemp != null) {
		return objTemp[0];
	}
	return null;
}

var Class = {
	create: function(){
		return function(){
			this.initialize.apply(this, arguments);
		}
	}
}

function getLottoOperateLink(intLottoID, strDir){
	var strLink = "";
	switch(intLottoID*1){
		case 1:
			break;

		case 2:
		case 3:
		case 6:
		case 7:
		case 8:
			strLink = "3D";
			break;

		case 4:
			strLink = "7Star";
			break;

		case 5:
			strLink = "10M";
			break;
	}
	return strLink = "/k_admin/" + strDir + strLink + "/index.php";
}